var express = require('express')

var store = require('./data/store')
var seller = {}
var menu = require('./data/menu')
var ratings = []

var routers = express.Router()

routers.get('/store', function (req, res) {
  res.json({
    error: null,
    data: store
  })
})

routers.get('/seller', function (req, res) {
  res.json({
    error: null,
    data: seller
  })
})

routers.get('/menu', function (req, res) {
  res.json({
    error: null,
    data: menu
  })
})

routers.get('/ratings', function (req, res) {
  res.json({
    error: null,
    data: ratings
  })
})

module.exports = routers
